<?php
namespace app\common\model;

use think\Model;

class CustomerDetail extends Model
{
    protected $connection = 'db_config_aiqi';

    public function getDetail()
    {
        return $this->hasOne('CustomerDetail', 'message_id', 'id');
    }
}